Base the decision to map/unmap items on whether they are actually
authorSoeren Sandmann <sandmann@daimi.au.dk>
Sun, 25 Jan 2004 14:17:15 +0000 (14:17 +0000)
committerSøren Sandmann Pedersen <ssp@src.gnome.org>
Sun, 25 Jan 2004 14:17:15 +0000 (14:17 +0000)
commit27070f145b796387aa5b33a2216abc0872edf8df
tree3f3e4031b67da3772a248997962e51d06a14f0a8
parent19ecfe4f55424f82157d25a47d4b0a6848bf81a0
Base the decision to map/unmap items on whether they are actually

Sun Jan 25 15:14:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision
to map/unmap items on whether they are actually allocated outside
the toolbar, not on whether that will eventually happen. Improves
animation in the presence of overflown items.

* gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a
queue_resize() to so that the items will get their new goal
values and the idle handler will not immediately return FALSE.

* gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and
make sure that a placeholder becoming invisible doesn't cause a
return TRUE.

* gtk/gtktoolbar.c (get_item_size): Don't special case
placeholders here.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktoolbar.c